home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / wingames / wc3.zip / WILDCARD.DOC < prev   
Text File  |  1992-06-03  |  1KB  |  36 lines

  1. Gives wildcard capabilities to many programs which ordinarily cannot accept
  2. them. Additionally "source" files can be erased after processing to decrease
  3. problems with "disk full" conditions. Leading or trailing command parameters
  4. can be passed to the programs as well.
  5.  
  6. Format is :
  7.  
  8. WC ProgramName Wildcard1 {Wildcard2} {-KILL or -Kill or -kill} {-LP} {-TP}
  9.  
  10. where the options and examples are as follows:
  11.  
  12. WC DJPEG A*.JPG *.GIF -KILL -LP'-G'
  13.  
  14. would be the equivalent of the following:
  15.  
  16. If there were 3 files, A1.JPG, A2.JPG and A3.JPG this would expand into:
  17.  
  18. DJPEG -G {the "leading parameter"} A1.JPG A1.GIF
  19. DEL A1.JPG
  20. DJPEG -G A2.JPG A2.GIF
  21. DEL A2.JPG
  22. DJPEG -G A3.JPG A3.GIF
  23. DEL A3.JPG
  24.  
  25. The second (output) wildcard is optional, as are the "leading" and "trailing"
  26. parameter specifications.
  27.  
  28. Note that some programs can handle file/path specifications in this and others
  29. cannot and must be all done in the currect directory, thus:
  30.  
  31. WC C:\PROGRAMS\CJPEG *.JPG *.GIF -KILL
  32.  
  33. may not work.
  34.  
  35. Written in, and source code available, ZBasic-PC/386, May 1992.
  36.